package com.chy.blog_server.modular.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.chy.blog_server.modular.web.entity.*;
import com.chy.blog_server.modular.web.mapper.BoPraiseHistoryMapper;
import com.chy.blog_server.modular.web.service.*;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * 描述：点赞记录 service业务层
 * 作者：chenhuiyan
 * 时间：2021/01/03 20:15
 */
@Service
@Transactional(readOnly = true)
public class BoPraiseHistoryServiceImpl extends ServiceImpl<BoPraiseHistoryMapper, BoPraiseHistory> implements IBoPraiseHistoryService {

    /**
     * 查询列表
     * @param params
     * @return
     */
    public List<Map<String, Object>> list(Map<String, Object> params){
        return baseMapper.list(params);
    }

}